<%@page import="dier.xuanke"%>
<%@page import="dier.Lesson"%>
<%@page import="dier.STudent"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"

    pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

         <title>用户查询页面</title>

</head>
<style type="text/css">
   div {
    margin: 0 600px;
   }
   p {
    display: inline;
   }
   
   h2 {
    text-align: center;
    color: blue;
   }
   .xx{
    height: 1000px;
    width: 500;
    
   }
   
   .ys {
   Font-size:25px;
    color: green;
   }
 </style>
  <body>
 <div class="xx">
<table border="1" width="500" cellspacing="0">
           <caption>学生个人信息</caption>
     <tr>
     		
           <th>学号</th>
           <th>姓名</th>
           <th>性别</th>
           <th>年龄</th>
           <th>专业</th>
           <th>班级</th>
    </tr>
    <% 
    String Name=null;
    try
    {Name=request.getParameter("tid");}
    catch(Exception e){}
    out.print(Name);
  	STudent stu=new STudent();
  	xuanke xk=new xuanke();
  	int id=xk.Stuchfanhuiid(Name);
  	stu=xk.Stuchaxunziji(id);
   %>
    <tr>
           <td><% out.print(stu.StuID);%></td>
           <td><% out.print(stu.Stuname);%></td>
           <td><% out.print(stu.Sex);%></td>
           <td><% out.print(stu.Age);%></td>
           <td><% out.print(stu.Zhuanye);%></td>
           <td><% out.print(stu.ClassRoom);%></td>
   </tr>
</table>
<form action="Student.jsp" method="get">
 	 <a href="Student.jsp"><button class="btn" name="tid" value=<%= Name%>>返回主菜单</button></a><br></form>
 </div>
 </body>
 </html>
 